package org.jeecg.modules.nation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @since 2020-10-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Nation对象", description="民族表")
@TableName(value = "sci_nation")
public class Nation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "nation_id", type = IdType.AUTO)
    @ApiModelProperty(value = "民族id")
    private Integer nationId;

    @ApiModelProperty(value = "民族")
    private String nationName;


}
